package com.jiangli.mapper;

import com.jiangli.entity.DishFlavor;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DishFlavorMapper {


    void insertBatch(List<DishFlavor> flavors);

    DishFlavor getFlavorByDishId(Long id);

    void update(DishFlavor dishFlavor);

    void deletByDishId(Long id);

}
